XWork 1.0.2

Key Changes

  • Added an xwork-default.xml configuration file that can be used as a standard starting place for non-web related XWork deploys (such as in Quartz)
  • Localized text for collections can now be referenced in the form someArray[XW:*].someField, where * provides a "catch-all" for any index element
  • Text retrieved using the default TextProvider now looks attempts to look for messages in the property files of child objects (if applicable) if none can be found.
  • Field-level validation can be short-circuited, meaning that you can stop the validation chain right away if you wish. See XW:Validation Framework for details.
  • Simple type conversion, such as int and float, now use the Locale. This will cause the correct use of "," and "." depending on the locale.
  • Much improved handling for type conversion of elements in collections.

Changelog

OpenSymphony JIRA (15 issues)
T Key Summary
Improvement XW-210 Make default type conversion message a localized text that can be overidden
Bug XW-205 missing xwork 1.0.2 dtd in jar and website and typo in ValidationInterceptor
Improvement XW-204 TextProvider.getText() should look in child property files
Improvement XW-203 Add "trim" parameter to string validators
Bug XW-202 Integer and Float conversion dont work in CVS HEAD
Bug XW-200 i18n broken when the name of the text to find starts with a property exposed by the action
Improvement XW-195 Add interface XWorkStatics which contains XWork-related constants from WebWorkStatics
Improvement XW-194 Patch to help LocalizedTextUtil deal with messages for indexed fields (collections)
Improvement XW-193 InstantiatingNullHandler and Typeconversion fails
Improvement XW-192 Create a version 1.0.2 of the XWork validation DTD with short circuit
Improvement XW-191 Type conversion improvement.
Improvement XW-190 Provide a xwork-default.xml.
Improvement XW-189 Improve ActionValidationManager's short circuit behaviour
Improvement XW-179 Optimise OgnlUtil.copy method
New Feature XW-172 XWorkBasicConverter doesn't care about the current locale